import { Component, inject } from '@angular/core';
import { DatePipe } from '@angular/common';
import { CurrencyPipe } from '@angular/common';
import { JiuGaiXiangMuService } from '../services/jiugaixiangmu.service';

@Component({
  selector: 'app-jiugaixiangmu',
  imports: [DatePipe, CurrencyPipe],
  templateUrl: './jiugaixiangmu.component.html',
  styleUrl: './jiugaixiangmu.component.css'
})
export class JiuGaiXiangMuComponent {

  private jiugaixiangmuService: JiuGaiXiangMuService = inject(JiuGaiXiangMuService);
  allXiangMu = this.jiugaixiangmuService.allXiangMu;
  allXiangMuSimple = this.jiugaixiangmuService.allXiangMuSimple;

}
